package com.cloud.drore.eboss.supplier.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/2/5 10:25 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
@Data
@Table(name = "eboos_product_validate_method")
public class ProductValidateMethod extends BaseEntity<Long> {
    /** 编码 */
    @JsonProperty("dic_code")
    @JSONField(name = "dic_code")
    @ApiModelProperty(name = "dic_code", notes = "退款手续费", example = "FIXED_RATE")
    private String dicCode;

    /** 状态 */
    @JsonProperty("state")
    @JSONField(name = "state")
    @ApiModelProperty(name = "state", notes = "退款手续费", example = "FIXED_RATE")
    private String state;

    /** 验证方式名称 */
    @JsonProperty("name")
    @JSONField(name = "name")
    @ApiModelProperty(name = "name", notes = "验证方式名称", example = "二维码")
    private String name;

    /** 产品编号 */
    @JsonProperty("product_id")
    @JSONField(name = "product_id")
    @ApiModelProperty(name = "product_id", notes = "产品编号", example = "10")
    private Long productId;

    /** 产品类型 */
    @JsonProperty("product_type")
    @JSONField(name = "product_type")
    @ApiModelProperty(name = "product_type", notes = "产品类型", example = "TICKET_PRODUCT")
    private String productType;
}